package com.efruit.dao;

import java.util.List;

import com.efruit.po.Product;

public interface IProductDAO {
	public void save(Product transientInstance);

	public void delete(Product persistentInstance);

	public Product findById(java.lang.Integer id);

	public List findByExample(Product instance);

	public List findByProperty(String propertyName, Object value);

	public List findByName(Object name);

	public List findByPrice(Object price);

	public List findByUrl(Object url);

	public List findByCount(Object count);

	public List findAll();

	public Product merge(Product detachedInstance);

	public void attachDirty(Product instance);

	public void attachClean(Product instance);

}
